import { Field, ObjectType } from "@nestjs/graphql";
import { Pagination } from "./pagination";
import { ScienceEntity } from "../science.entity/science.entity";

@ObjectType()
export class SciencePagination extends Pagination {
    @Field(() => [ScienceEntity])
    data: ScienceEntity[]
}